(global.webpackJsonp = global.webpackJsonp || []).push([ [ "pages/components/slide-panel/index" ], {
    1881: function(t, e, n) {
        n.r(e);
        var i = n("e24b"), a = n("cab9");
        for (var s in a) [ "default" ].indexOf(s) < 0 && function(t) {
            n.d(e, t, function() {
                return a[t];
            });
        }(s);
        n("5dc4");
        var o = n("f0c5"), h = Object(o.a)(a.default, i.b, i.c, !1, null, "13517f68", null, !1, i.a, void 0);
        e.default = h.exports;
    },
    5018: function(t, e, n) {
        (function(t) {
            Object.defineProperty(e, "__esModule", {
                value: !0
            }), e.default = void 0, e.default = {
                props: {
                    topHeight: {
                        type: [ Number, String ],
                        default: 200
                    },
                    stayHeight: {
                        type: [ Number, String ],
                        default: 200
                    },
                    topPadding: {
                        type: [ Number, String ],
                        default: 200
                    },
                    sideThreshold: {
                        type: [ Number, String ],
                        default: 100
                    }
                },
                data: function() {
                    return {
                        top: 0,
                        animationData: "",
                        height: "100vh"
                    };
                },
                created: function() {
                    var e = t.getSystemInfoSync(), n = e.screenWidth;
                    e.screenHeight, this.rpxRatio = n / 750, this.currentY = 0, this.prevY = 0, this.slideOffset = {
                        x: 0,
                        y: 0
                    }, this.top = this.topHeight * this.rpxRatio, this.maxOffsetY = this.topPadding * this.rpxRatio - this.top, 
                    this.height = "calc(100vh - ".concat(this.topPadding, "rpx)"), this.animation = t.createAnimation({
                        duration: 50
                    });
                },
                methods: {
                    setAnimation: function(t) {
                        this.animation.translate3d(0, t, 0).step(), this.animationData = this.animation.export();
                    },
                    setMovement: function(t) {
                        t = Math.max(Math.min(0, t), this.maxOffsetY), this.currentY = t, this.setAnimation(t);
                    },
                    startMove: function(e) {
                        this.animation = t.createAnimation({
                            duration: 100
                        }), this.slideOffset.y = e.changedTouches[0] ? e.changedTouches[0].pageY : 0, this.currentY = this.prevY + e.changedTouches[0].pageY - this.slideOffset.y;
                    },
                    move: function(t) {
                        this.setMovement(this.prevY + t.changedTouches[0].pageY - this.slideOffset.y);
                    },
                    endMove: function(t) {
                        var e = this.maxOffsetY, n = this.sideThreshold, i = this.prevY - this.currentY;
                        i > n ? (this.prevY = e, this.setAnimation(e), this.$emit("slideChange", !0)) : i < -n ? (this.prevY = 0, 
                        this.setAnimation(0), this.$emit("slideChange", !1)) : this.setAnimation(this.prevY);
                    }
                }
            };
        }).call(this, n("543d").default);
    },
    cab9: function(t, e, n) {
        n.r(e);
        var i = n("5018"), a = n.n(i);
        for (var s in i) [ "default" ].indexOf(s) < 0 && function(t) {
            n.d(e, t, function() {
                return i[t];
            });
        }(s);
        e.default = a.a;
    },
    e24b: function(t, e, n) {
        n.d(e, "b", function() {
            return i;
        }), n.d(e, "c", function() {
            return a;
        }), n.d(e, "a", function() {});
        var i = function() {
            this.$createElement;
            this._self._c;
        }, a = [];
    }
} ]), (global.webpackJsonp = global.webpackJsonp || []).push([ "pages/components/slide-panel/index-create-component", {
    "pages/components/slide-panel/index-create-component": function(t, e, n) {
        n("543d").createComponent(n("1881"));
    }
}, [ [ "pages/components/slide-panel/index-create-component" ] ] ]);